.class public Lcom/waiqin365/lightapp/store/b/a/f;
.super Lcom/waiqin365/lightapp/store/b/d;


# instance fields
.field public b:Ljava/lang/String;

.field public c:Ljava/lang/String;

.field public d:I

.field public e:Lcom/waiqin365/lightapp/store/c/a;


# direct methods
.method public constructor <init>()V
    .locals 1

    const/16 v0, 0x7a

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/store/b/d;-><init>(I)V

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;)Z
    .locals 10

    const-wide/16 v2, 0x0

    const/4 v0, 0x1

    const/4 v1, 0x0

    :try_start_0
    new-instance v4, Lorg/json/JSONObject;

    invoke-direct {v4, p1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string/jumbo v5, "code"

    invoke-virtual {v4, v5}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v5

    if-eqz v5, :cond_2

    const-string/jumbo v5, "code"

    invoke-virtual {v4, v5}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    iput-object v5, p0, Lcom/waiqin365/lightapp/store/b/a/f;->b:Ljava/lang/String;

    const-string/jumbo v5, "1"

    iget-object v6, p0, Lcom/waiqin365/lightapp/store/b/a/f;->b:Ljava/lang/String;

    invoke-virtual {v5, v6}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v5

    if-eqz v5, :cond_4

    const-string/jumbo v5, "total"

    invoke-virtual {v4, v5}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v5

    if-eqz v5, :cond_0

    const-string/jumbo v5, "total"

    invoke-virtual {v4, v5}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v5

    iput v5, p0, Lcom/waiqin365/lightapp/store/b/a/f;->d:I

    :cond_0
    const-string/jumbo v5, "data"

    invoke-virtual {v4, v5}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v5

    if-eqz v5, :cond_3

    const-string/jumbo v5, "data"

    invoke-virtual {v4, v5}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v5

    if-eqz v5, :cond_3

    new-instance v4, Lcom/waiqin365/lightapp/store/c/a;

    invoke-direct {v4}, Lcom/waiqin365/lightapp/store/c/a;-><init>()V

    iput-object v4, p0, Lcom/waiqin365/lightapp/store/b/a/f;->e:Lcom/waiqin365/lightapp/store/c/a;

    iget-object v6, p0, Lcom/waiqin365/lightapp/store/b/a/f;->e:Lcom/waiqin365/lightapp/store/c/a;

    const-string/jumbo v4, "id"

    invoke-virtual {v5, v4}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_5

    const-string/jumbo v4, "id"

    invoke-virtual {v5, v4}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    :goto_0
    iput-object v4, v6, Lcom/waiqin365/lightapp/store/c/a;->a:Ljava/lang/String;

    iget-object v6, p0, Lcom/waiqin365/lightapp/store/b/a/f;->e:Lcom/waiqin365/lightapp/store/c/a;

    const-string/jumbo v4, "orderNo"

    invoke-virtual {v5, v4}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_6

    const-string/jumbo v4, "orderNo"

    invoke-virtual {v5, v4}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    :goto_1
    iput-object v4, v6, Lcom/waiqin365/lightapp/store/c/a;->c:Ljava/lang/String;

    iget-object v6, p0, Lcom/waiqin365/lightapp/store/b/a/f;->e:Lcom/waiqin365/lightapp/store/c/a;

    const-string/jumbo v4, "submitDate"

    invoke-virtual {v5, v4}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_7

    const-string/jumbo v4, "submitDate"

    invoke-virtual {v5, v4}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    :goto_2
    iput-object v4, v6, Lcom/waiqin365/lightapp/store/c/a;->d:Ljava/lang/String;

    iget-object v6, p0, Lcom/waiqin365/lightapp/store/b/a/f;->e:Lcom/waiqin365/lightapp/store/c/a;

    const-string/jumbo v4, "submitTime"

    invoke-virtual {v5, v4}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_8

    const-string/jumbo v4, "submitTime"

    invoke-virtual {v5, v4}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    :goto_3
    iput-object v4, v6, Lcom/waiqin365/lightapp/store/c/a;->g:Ljava/lang/String;

    iget-object v6, p0, Lcom/waiqin365/lightapp/store/b/a/f;->e:Lcom/waiqin365/lightapp/store/c/a;

    const-string/jumbo v4, "empId"

    invoke-virtual {v5, v4}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_9

    const-string/jumbo v4, "empId"

    invoke-virtual {v5, v4}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    :goto_4
    iput-object v4, v6, Lcom/waiqin365/lightapp/store/c/a;->e:Ljava/lang/String;

    iget-object v6, p0, Lcom/waiqin365/lightapp/store/b/a/f;->e:Lcom/waiqin365/lightapp/store/c/a;

    const-string/jumbo v4, "empName"

    invoke-virtual {v5, v4}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_a

    const-string/jumbo v4, "empName"

    invoke-virtual {v5, v4}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    :goto_5
    iput-object v4, v6, Lcom/waiqin365/lightapp/store/c/a;->f:Ljava/lang/String;

    iget-object v6, p0, Lcom/waiqin365/lightapp/store/b/a/f;->e:Lcom/waiqin365/lightapp/store/c/a;

    const-string/jumbo v4, "cmId"

    invoke-virtual {v5, v4}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_b

    const-string/jumbo v4, "cmId"

    invoke-virtual {v5, v4}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    :goto_6
    iput-object v4, v6, Lcom/waiqin365/lightapp/store/c/a;->h:Ljava/lang/String;

    iget-object v6, p0, Lcom/waiqin365/lightapp/store/b/a/f;->e:Lcom/waiqin365/lightapp/store/c/a;

    const-string/jumbo v4, "cmName"

    invoke-virtual {v5, v4}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_c

    const-string/jumbo v4, "cmName"

    invoke-virtual {v5, v4}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    :goto_7
    iput-object v4, v6, Lcom/waiqin365/lightapp/store/c/a;->i:Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :try_start_1
    iget-object v4, p0, Lcom/waiqin365/lightapp/store/b/a/f;->e:Lcom/waiqin365/lightapp/store/c/a;

    const-string/jumbo v6, "amount"

    invoke-virtual {v5, v6}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_1

    const-string/jumbo v2, "amount"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/Double;->valueOf(Ljava/lang/String;)Ljava/lang/Double;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v2

    :cond_1
    invoke-static {v2, v3}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v2

    iput-object v2, v4, Lcom/waiqin365/lightapp/store/c/a;->j:Ljava/lang/Double;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    :goto_8
    :try_start_2
    iget-object v3, p0, Lcom/waiqin365/lightapp/store/b/a/f;->e:Lcom/waiqin365/lightapp/store/c/a;

    const-string/jumbo v2, "locationC"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_d

    const-string/jumbo v2, "locationC"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    :goto_9
    iput-object v2, v3, Lcom/waiqin365/lightapp/store/c/a;->k:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/store/b/a/f;->e:Lcom/waiqin365/lightapp/store/c/a;

    const-string/jumbo v2, "locationA"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_e

    const-string/jumbo v2, "locationA"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    :goto_a
    iput-object v2, v3, Lcom/waiqin365/lightapp/store/c/a;->l:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/store/b/a/f;->e:Lcom/waiqin365/lightapp/store/c/a;

    const-string/jumbo v2, "pictures"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_f

    const-string/jumbo v2, "pictures"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    :goto_b
    iput-object v2, v3, Lcom/waiqin365/lightapp/store/c/a;->m:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/store/b/a/f;->e:Lcom/waiqin365/lightapp/store/c/a;

    const-string/jumbo v2, "remarks"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_10

    const-string/jumbo v2, "remarks"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    :goto_c
    iput-object v2, v3, Lcom/waiqin365/lightapp/store/c/a;->q:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/store/b/a/f;->e:Lcom/waiqin365/lightapp/store/c/a;

    const-string/jumbo v2, "confirmEmpId"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_11

    const-string/jumbo v2, "confirmEmpId"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    :goto_d
    iput-object v2, v3, Lcom/waiqin365/lightapp/store/c/a;->o:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/store/b/a/f;->e:Lcom/waiqin365/lightapp/store/c/a;

    const-string/jumbo v2, "confirmEmpName"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_12

    const-string/jumbo v2, "confirmEmpName"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    :goto_e
    iput-object v2, v3, Lcom/waiqin365/lightapp/store/c/a;->p:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/store/b/a/f;->e:Lcom/waiqin365/lightapp/store/c/a;

    const-string/jumbo v2, "confirmTime"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_13

    const-string/jumbo v2, "confirmTime"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    :goto_f
    iput-object v2, v3, Lcom/waiqin365/lightapp/store/c/a;->n:Ljava/lang/String;

    const-string/jumbo v2, "products"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_3

    const-string/jumbo v2, "products"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v4

    if-eqz v4, :cond_3

    move v3, v1

    :goto_10
    invoke-virtual {v4}, Lorg/json/JSONArray;->length()I

    move-result v2

    if-ge v3, v2, :cond_3

    invoke-virtual {v4, v3}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v5

    new-instance v6, Lcom/waiqin365/lightapp/product/d/d;

    invoke-direct {v6}, Lcom/waiqin365/lightapp/product/d/d;-><init>()V

    const-string/jumbo v2, "id"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_14

    const-string/jumbo v2, ""

    :goto_11
    invoke-virtual {v6, v2}, Lcom/waiqin365/lightapp/product/d/d;->a(Ljava/lang/String;)V

    const-string/jumbo v2, "name"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_15

    const-string/jumbo v2, ""

    :goto_12
    iput-object v2, v6, Lcom/waiqin365/lightapp/product/d/d;->a:Ljava/lang/String;

    const-string/jumbo v2, "spec"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_16

    const-string/jumbo v2, ""

    :goto_13
    iput-object v2, v6, Lcom/waiqin365/lightapp/product/d/d;->b:Ljava/lang/String;

    const-string/jumbo v2, "price"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_17

    const-string/jumbo v2, ""

    :goto_14
    const-wide/16 v8, 0x0

    invoke-static {v2, v8, v9}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;D)D

    move-result-wide v8

    invoke-static {v8, v9}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v2

    invoke-virtual {v6, v2}, Lcom/waiqin365/lightapp/product/d/d;->a(Ljava/lang/Double;)V

    const-string/jumbo v2, "qty"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_18

    const-string/jumbo v2, ""

    :goto_15
    const-wide/16 v8, 0x0

    invoke-static {v2, v8, v9}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;D)D

    move-result-wide v8

    invoke-static {v8, v9}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v2

    invoke-virtual {v6, v2}, Lcom/waiqin365/lightapp/product/d/d;->b(Ljava/lang/Double;)V

    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "amount"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_19

    const-string/jumbo v2, ""

    :goto_16
    const-wide/16 v8, 0x0

    invoke-static {v2, v8, v9}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;D)D

    move-result-wide v8

    invoke-virtual {v7, v8, v9}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v7, ""

    invoke-virtual {v2, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    iput-object v2, v6, Lcom/waiqin365/lightapp/product/d/d;->g:Ljava/lang/String;

    const-string/jumbo v2, "productRemarks"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_1a

    const-string/jumbo v2, ""

    :goto_17
    invoke-virtual {v6, v2}, Lcom/waiqin365/lightapp/product/d/d;->d(Ljava/lang/String;)V

    const-string/jumbo v2, "brand"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_1b

    const-string/jumbo v2, "brand"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    :goto_18
    iput-object v2, v6, Lcom/waiqin365/lightapp/product/d/d;->j:Ljava/lang/String;

    const-string/jumbo v2, "tagNew"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_1c

    const-string/jumbo v2, "tagNew"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_1c

    move v2, v0

    :goto_19
    iput-boolean v2, v6, Lcom/waiqin365/lightapp/product/d/d;->p:Z

    const-string/jumbo v2, "tagHot"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_1d

    const-string/jumbo v2, "tagHot"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_1d

    move v2, v0

    :goto_1a
    iput-boolean v2, v6, Lcom/waiqin365/lightapp/product/d/d;->o:Z

    const-string/jumbo v2, "tagGift"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_1e

    const-string/jumbo v2, "tagGift"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_1e

    move v2, v0

    :goto_1b
    iput-boolean v2, v6, Lcom/waiqin365/lightapp/product/d/d;->q:Z

    const-string/jumbo v2, "tagSale"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_1f

    const-string/jumbo v2, "tagSale"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_1f

    move v2, v0

    :goto_1c
    iput-boolean v2, v6, Lcom/waiqin365/lightapp/product/d/d;->r:Z

    const-string/jumbo v2, "code"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_20

    const-string/jumbo v2, "code"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    :goto_1d
    iput-object v2, v6, Lcom/waiqin365/lightapp/product/d/d;->h:Ljava/lang/String;

    const-string/jumbo v2, "barcode"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_21

    const-string/jumbo v2, "barcode"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    :goto_1e
    iput-object v2, v6, Lcom/waiqin365/lightapp/product/d/d;->i:Ljava/lang/String;

    const-string/jumbo v2, "status"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_22

    const-string/jumbo v2, "status"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    :goto_1f
    iput-object v2, v6, Lcom/waiqin365/lightapp/product/d/d;->k:Ljava/lang/String;

    const-string/jumbo v2, "saleStatus"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_23

    const-string/jumbo v2, "saleStatus"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    :goto_20
    iput-object v2, v6, Lcom/waiqin365/lightapp/product/d/d;->l:Ljava/lang/String;

    const-string/jumbo v2, "fomatNum"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_24

    const-string/jumbo v2, "fomatNum"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    :goto_21
    iput-object v2, v6, Lcom/waiqin365/lightapp/product/d/d;->f:Ljava/lang/String;

    const-string/jumbo v2, "nameSpec"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_25

    const-string/jumbo v2, ""

    :goto_22
    iput-object v2, v6, Lcom/waiqin365/lightapp/product/d/d;->c:Ljava/lang/String;

    const-string/jumbo v2, "inputUnit"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_26

    const-string/jumbo v2, ""

    :goto_23
    invoke-virtual {v6, v2}, Lcom/waiqin365/lightapp/product/d/d;->e(Ljava/lang/String;)V

    const-string/jumbo v2, "inputUnitName"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_27

    const-string/jumbo v2, ""

    :goto_24
    invoke-virtual {v6, v2}, Lcom/waiqin365/lightapp/product/d/d;->f(Ljava/lang/String;)V

    const-string/jumbo v2, "propValues"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_28

    const-string/jumbo v2, ""

    :goto_25
    iput-object v2, v6, Lcom/waiqin365/lightapp/product/d/d;->d:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/store/b/a/f;->e:Lcom/waiqin365/lightapp/store/c/a;

    iget-object v2, v2, Lcom/waiqin365/lightapp/store/c/a;->r:Ljava/util/List;

    invoke-interface {v2, v6}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v2, v3, 0x1

    move v3, v2

    goto/16 :goto_10

    :cond_2
    move v0, v1

    :cond_3
    :goto_26
    return v0

    :cond_4
    const-string/jumbo v2, "message"

    invoke-virtual {v4, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_3

    const-string/jumbo v2, "message"

    invoke-virtual {v4, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/waiqin365/lightapp/store/b/a/f;->c:Ljava/lang/String;

    goto :goto_26

    :catch_0
    move-exception v0

    move v0, v1

    goto :goto_26

    :cond_5
    const-string/jumbo v4, ""

    goto/16 :goto_0

    :cond_6
    const-string/jumbo v4, ""

    goto/16 :goto_1

    :cond_7
    const-string/jumbo v4, ""

    goto/16 :goto_2

    :cond_8
    const-string/jumbo v4, ""

    goto/16 :goto_3

    :cond_9
    const-string/jumbo v4, ""

    goto/16 :goto_4

    :cond_a
    const-string/jumbo v4, ""

    goto/16 :goto_5

    :cond_b
    const-string/jumbo v4, ""

    goto/16 :goto_6

    :cond_c
    const-string/jumbo v4, ""

    goto/16 :goto_7

    :catch_1
    move-exception v2

    iget-object v2, p0, Lcom/waiqin365/lightapp/store/b/a/f;->e:Lcom/waiqin365/lightapp/store/c/a;

    const-wide/16 v6, 0x0

    invoke-static {v6, v7}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v3

    iput-object v3, v2, Lcom/waiqin365/lightapp/store/c/a;->j:Ljava/lang/Double;

    goto/16 :goto_8

    :cond_d
    const-string/jumbo v2, ""

    goto/16 :goto_9

    :cond_e
    const-string/jumbo v2, ""

    goto/16 :goto_a

    :cond_f
    const-string/jumbo v2, ""

    goto/16 :goto_b

    :cond_10
    const-string/jumbo v2, ""

    goto/16 :goto_c

    :cond_11
    const-string/jumbo v2, ""

    goto/16 :goto_d

    :cond_12
    const-string/jumbo v2, ""

    goto/16 :goto_e

    :cond_13
    const-string/jumbo v2, ""

    goto/16 :goto_f

    :cond_14
    const-string/jumbo v2, "id"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    goto/16 :goto_11

    :cond_15
    const-string/jumbo v2, "name"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    goto/16 :goto_12

    :cond_16
    const-string/jumbo v2, "spec"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    goto/16 :goto_13

    :cond_17
    const-string/jumbo v2, "price"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    goto/16 :goto_14

    :cond_18
    const-string/jumbo v2, "qty"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    goto/16 :goto_15

    :cond_19
    const-string/jumbo v2, "amount"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    goto/16 :goto_16

    :cond_1a
    const-string/jumbo v2, "productRemarks"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    goto/16 :goto_17

    :cond_1b
    const-string/jumbo v2, ""

    goto/16 :goto_18

    :cond_1c
    move v2, v1

    goto/16 :goto_19

    :cond_1d
    move v2, v1

    goto/16 :goto_1a

    :cond_1e
    move v2, v1

    goto/16 :goto_1b

    :cond_1f
    move v2, v1

    goto/16 :goto_1c

    :cond_20
    const-string/jumbo v2, ""

    goto/16 :goto_1d

    :cond_21
    const-string/jumbo v2, ""

    goto/16 :goto_1e

    :cond_22
    const-string/jumbo v2, ""

    goto/16 :goto_1f

    :cond_23
    const-string/jumbo v2, ""

    goto/16 :goto_20

    :cond_24
    const-string/jumbo v2, ""

    goto/16 :goto_21

    :cond_25
    const-string/jumbo v2, "nameSpec"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    goto/16 :goto_22

    :cond_26
    const-string/jumbo v2, "inputUnit"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    goto/16 :goto_23

    :cond_27
    const-string/jumbo v2, "inputUnitName"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    goto/16 :goto_24

    :cond_28
    const-string/jumbo v2, "propValues"

    invoke-virtual {v5, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0

    move-result-object v2

    goto/16 :goto_25
.end method
